package com.hnucm.c202001020216.api;

import com.hnucm.c202001020216.pojo.Login;
import com.hnucm.c202001020216.pojo.Response;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface RegisterApi {
    //注册用户信息
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST("app/register")
    Call<Response> userRegister(@Body RequestBody comment);
}
